package com.linzm.behavioraltype.chainresponsibility01.logger;

/**
 * @Author zimingl
 * @Date 2023/4/16 2:40
 * @Description: ErrorLogger
 */
public class ErrorLogger extends AbstractLogger {
    public ErrorLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Error Console::Logger: " + message);
    }
}
